//新开就诊
import { get, post } from "@/utils/request";
import { httpHeader } from './tools/httpHeader'

// 获取就诊和未就诊患者列表
export function getAllRegisterToday(data) {
  let url = httpHeader() + '/his/sad/seedoctor/getAllRegisterToday'
  return get(url,data)
}


// 获取药品列表
export function getMedicinesList() {
  let url = httpHeader() + '/his/sad/seedoctor/getMedicinesList'
  return get(url,null)
}

//获取检测项目列表
export function getAllInspection() {
  let url = httpHeader() + '/his/sad/seedoctor/getAllInspection'
  return get(url,null)
}

export function getAllRegisterToday2(data) {
  let url = httpHeader() + '/his/sad/seedoctor/getAllRegisterToday2'
  return get(url,data)
}


//模糊查询
export function selectbynameOrphp(data) {
  let url = httpHeader() + '/his/sad/seedoctor/selectbynameOrphp'
  return get(url,data)
}

//开单
export function billing(data) {
  let url = httpHeader() + '/his/sad/seedoctor/billing'
  return post(url,data)
}

//开单
export function getNewdoctorinfo() {
  let url = httpHeader() + '/his/sad/seedoctor/getNewdoctorinfo'
  return get(url,null)
}

//获取收费项目列表
export function getAllext() {
  let url = httpHeader() + '/his/sad/seedoctor/getAllext'
  return get(url,null)
}